package util.dateutil;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

public class DateHelper {

    public static void main(String[] args) {
        LocalDateTime localDateTime = LocalDateTime.now();
        DateTimeFormatter dateTimeFormatter = DateTimeFormatter.ofPattern("yyyyMMddHHmmssSSS");
        localDateTime.format(dateTimeFormatter);
        System.out.println("Date " + localDateTime.format(dateTimeFormatter));
    }
}
